package com.quickthumb.game;

import javax.microedition.khronos.opengles.GL10;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;

public class RatShadow extends Rat {
	public static final int score = 50;
	public static final int power = 50;
	public  int getPower() {
		return power;
	}
	@Override
	public int percent() {
		return 30;
	}

	@Override
	public void init() {
		counter = -Screen.random.nextInt(10);
		lifetime = Screen.random.nextInt(10) + 10;
	}

	@Override
	public void draw(Canvas c, Paint p) {
		if (!isAlive())
			return;
		p.setColor(Color.DKGRAY);
		c.drawCircle(position % Screen.HOLES_W, position / Screen.HOLES_W, .4f, p);
	}

	@Override
	public void draw(GL10 gl) {
		// TODO Auto-generated method stub

	}

	@Override
	public void destroy() {
		// TODO Auto-generated method stub

	}

	@Override
	public void kill() {
		dead = true;
		Player.changeScore(score);
		Powerups.black_counter = 5 * 30;
	}

	@Override
	public void hunt() {
		// TODO Auto-generated method stub

	}

	@Override
	public void hide() {
		// TODO Auto-generated method stub

	}

}
